export default function get_value(e: Event, key: string) {
	const res = e[0];
	if (key) {
		return res[key];
	}
	return res;
}
